package com.aligotec;

import java.io.IOException;

import clojure.lang.RT;
import clojure.lang.Var;

public class RunClojure {

	
	
	
	public static void main(String[] args) {
		try {
			
			RT.loadResourceScript("com/aligotec/clj/program4.clj");
			Var fun1 = RT.var("clj.ex4", "test4");
			String result = (String) fun1.invoke("arg1", "arg2");
			System.out.println("Result: " + result);
			
			
		} catch (Exception e) {
			System.err.println("Error loading script: " + e.getMessage());
		}
		
	}

	
	
	
}
